1
This commit is contained in:
parent
b9dd8cef53
commit
dca1e95c7a
@ -337,6 +337,7 @@ const int DEF_WEAPON_ID = 12103;
|
||||
const int SERVER_FRAME_RATE = 20;
|
||||
const int SYNC_FRAME_RATE = 10;
|
||||
const float FRAME_RATE_MS = 1000.0f / SERVER_FRAME_RATE;
|
||||
const int NEXT_FRAME_TIMER = 2;
|
||||
|
||||
const int MAX_WEAPON_NUM = 9;
|
||||
const int MAX_SKIN_LV = 9;
|
||||
|
@ -718,7 +718,7 @@ void Room::InternalRemoveObjectLater(Entity* entity, a8::XTimerAttacher& xtimer_
|
||||
#endif
|
||||
delete entity;
|
||||
};
|
||||
xtimer.AddDeadLineTimerAndAttach(2,
|
||||
xtimer.AddDeadLineTimerAndAttach(NEXT_FRAME_TIMER,
|
||||
a8::XParams()
|
||||
.SetSender(entity)
|
||||
.SetParam1(this),
|
||||
|
Loading…
x
Reference in New Issue
Block a user