diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index 548be4d1f..48d762900 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5503,8 +5503,8 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) case SC_SPLASHER:
if (sc->data[type].val4 % 1000 == 0) {
- char timer[2];
- sprintf (timer, "%d", sc->data[type].val4/1000);
+ char timer[10];
+ snprintf (timer, 10, "%d", sc->data[type].val4/1000);
clif_message(bl, timer);
}
if((sc->data[type].val4 -= 500) > 0) {
|