Jump to content

Recommended Posts

Posted

I was looking at the monster command and some lines¹ gave me the idea to merge killmonster and killmonster2 into one function, and use killmonster2 as duplicate of killmonster, just like monstersmall/monsterbig and monster.

Patch:

killmonster(2)_merge.patch

[¹]

	if (strcmp(command+1, "monstersmall") == 0)
	strcpy(eventname, "2");
else if (strcmp(command+1, "monsterbig") == 0)
	strcpy(eventname, "4");

  • Upvote 3
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...