ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/exit.C
(Generate patch)

Comparing deliantra/server/random_maps/exit.C (file contents):
Revision 1.40 by root, Sun Mar 28 22:29:50 2010 UTC vs.
Revision 1.41 by root, Sat Apr 10 01:54:07 2010 UTC

137 137
138 switch (orientation) 138 switch (orientation)
139 { 139 {
140 case 1: 140 case 1:
141 { 141 {
142 style_map_up = find_style ("/styles/exitstyles/up" , exitstyle, -1); 142 style_map_up = find_style ("/styles/exitstyles/up" , exitstyle, RP->difficulty);
143 style_map_down = find_style ("/styles/exitstyles/down", exitstyle, -1); 143 style_map_down = find_style ("/styles/exitstyles/down", exitstyle, RP->difficulty);
144 break; 144 break;
145 } 145 }
146 146
147 case 2: 147 case 2:
148 { 148 {
149 style_map_up = find_style ("/styles/exitstyles/down", exitstyle, -1); 149 style_map_up = find_style ("/styles/exitstyles/down", exitstyle, RP->difficulty);
150 style_map_down = find_style ("/styles/exitstyles/up" , exitstyle, -1); 150 style_map_down = find_style ("/styles/exitstyles/up" , exitstyle, RP->difficulty);
151 break; 151 break;
152 } 152 }
153 153
154 default: 154 default:
155 { 155 {
156 style_map_up = 156 style_map_up =
157 style_map_down = find_style ("/styles/exitstyles/generic", exitstyle, -1); 157 style_map_down = find_style ("/styles/exitstyles/generic", exitstyle, RP->difficulty);
158 break; 158 break;
159 } 159 }
160 } 160 }
161 161
162 the_exit_up = style_map_up 162 the_exit_up = style_map_up

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines