Browse Source

* Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14491 54d463be-8e91-2dee-dedb-b68131a5f0ec
ai4rei 14 years ago
parent
commit
778f130de9
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Changelog-Renewal.txt
  2. 1 1
      src/map/map.c

+ 1 - 0
Changelog-Renewal.txt

@@ -11,6 +11,7 @@ Date	Added
 	- Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986).
 	* Fixed disguising as player clone causing the client to crash while looking for non-existing NPC sprites (bugreport:4428, since r14387, related r14383). [Ai4rei]
 	* Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442). [Ai4rei]
+	* Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402). [Ai4rei]
 2010/11/21
 	* Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) portability framework for Visual C++ compilers (related bugreport:4059). [Ai4rei]
 	* Added 64-bit variants of the socket and buffer I/O macros. [Ai4rei]

+ 1 - 1
src/map/map.c

@@ -3676,7 +3676,7 @@ int do_init(int argc, char *argv[])
 		//##TODO invoke a CONSOLE_START plugin event
 	}
 
-	if (battle_config.pk_mode == 1)
+	if (battle_config.pk_mode)
 		ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n");
 
 	ShowStatus("Server is '"CL_GREEN"ready"CL_RESET"' and listening on port '"CL_WHITE"%d"CL_RESET"'.\n\n", map_port);