Changeset 83 for trunk/src/game/Chat.cpp

Show
Ignore:
Timestamp:
11/19/08 13:32:42 (17 years ago)
Author:
yumileroy
Message:

[svn] * Compile fixes from previous revs.

Original author: KingPin?
Date: 2008-10-20 14:11:58-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Chat.cpp

    r79 r83  
    634634    for(uint32 i = 0; table[i].Name != NULL; i++) 
    635635    { 
    636         if( *subcmd && !hasStringAbbr(table[i].Name, subcmd)) 
     636        if( !hasStringAbbr(table[i].Name, cmd.c_str()) ) 
    637637            continue; 
    638638 
     
    722722            continue; 
    723723 
    724         if( !hasStringAbbr(table[i].Name, subcmd) ) 
     724        if( *subcmd && !hasStringAbbr(table[i].Name, subcmd)) 
    725725            continue; 
    726726