mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-18 13:38:07 +01:00
[Jan 24 2009] - Rumble
Fixed command queue cancelling "--" from cancelling the next command. (thanks Fren ze/Ogdin) Fixed object timer values from not saving. (thanks Stoneheart) Fixed latest GCC warnings in the /utils. (thanks Jamdog) Fixed violent area spells so they would not harm group members. (thanks Nhilar) Changed usage of qm->nr to GET_MOB_VNUM(qm). (thanks Tails)
This commit is contained in:
parent
b458c58878
commit
c9c7ed9e7a
11 changed files with 41 additions and 26 deletions
|
|
@ -496,10 +496,10 @@ int real_room(int virtual, int reference)
|
|||
*/
|
||||
int get_line(FILE * fl, char *buf)
|
||||
{
|
||||
char temp[256];
|
||||
char temp[256], *buf2;
|
||||
|
||||
do {
|
||||
fgets(temp, 256, fl);
|
||||
buf2 = fgets(temp, 256, fl);
|
||||
if (*temp)
|
||||
temp[strlen(temp) - 1] = '\0';
|
||||
} while (!feof(fl) && (*temp == '*' || !*temp));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue