Issue information

Issue ID
#6704
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Sep 16, 2012 15:44
Last Post
Hercules Elf Bot
Sep 16, 2012 15:57
Confirmation
N/A

Hercules Elf Bot - Sep 16, 2012 15:44

Originally posted by [b]Vianna[/b]
Since [rev=16782]:

[code] } else if (strncmp(map_name, "morocc", 3) == 0 ||
strncmp(map_name, "morroc", 3) == 0) {
[/code]
[code] } else if (strncmp(map_name, "mid_camp", 3) == 0 ||
strncmp(map_name, "midgard", 3) == 0) {
[/code]

The comparisons only check for equality in the first 3 characters, and in both cases the two strings start with the same 3 characters, so it's doing the same thing twice.

This post has been edited by Brian on Sep 16, 2012 15:57

Hercules Elf Bot - Sep 16, 2012 15:57

Originally posted by [b]Brian[/b]
Updating status to: [b]Fixed[/b] in [rev=16783].