diff options
Diffstat (limited to 'src/game/client/game_client.cpp')
| -rw-r--r-- | src/game/client/game_client.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index a59c9d97..64ab18f0 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -363,6 +363,11 @@ public: int lastadd[LISTSIZE]; projectile_particles() { + reset(); + } + + void reset() + { for (int i = 0; i < LISTSIZE; i++) lastadd[i] = -1000; } @@ -456,6 +461,8 @@ void modc_entergame() tilemap_init(); chat_reset(); + proj_particles.reset(); + for(int i = 0; i < MAX_CLIENTS; i++) { client_datas[i].name[0] = 0; @@ -464,7 +471,6 @@ void modc_entergame() for(int i = 0; i < killmsg_max; i++) killmsgs[i].tick = -100000; - } void modc_shutdown() |