mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 02:30:13 +01:00
Fixed strcat() writing out of bounds in cedit.c since strdup() only malloc() strlen(str)+1 bytes. (thanks Buggo) and moved attack_hit_text back.
This commit is contained in:
parent
af18bd91b6
commit
70f648c85b
3 changed files with 6 additions and 8 deletions
|
|
@ -1455,7 +1455,6 @@ void do_start(struct char_data *ch)
|
|||
}
|
||||
|
||||
advance_level(ch);
|
||||
mudlog(BRF, MAX(LVL_IMMORT, GET_INVIS_LEV(ch)), TRUE, "%s advanced to level %d", GET_NAME(ch), GET_LEVEL(ch));
|
||||
|
||||
GET_HIT(ch) = GET_MAX_HIT(ch);
|
||||
GET_MANA(ch) = GET_MAX_MANA(ch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue