bobtools patch width/height fix from OSXNetRadiant. Now we seem to be mostly in sync with OSXNetRadiant rev 94.
This commit is contained in:
parent
fa9d3a210a
commit
bf2ca2011e
|
|
@ -318,8 +318,8 @@ DPatch* DPatch::MergePatches(patch_merge_t merge_info, DPatch *p1, DPatch *p2)
|
||||||
*/
|
*/
|
||||||
DPatch* newPatch = new DPatch();
|
DPatch* newPatch = new DPatch();
|
||||||
//switched..
|
//switched..
|
||||||
newPatch->height = p1->width;
|
newPatch->height = newHeight;
|
||||||
newPatch->width = newHeight;
|
newPatch->width = p1->width;
|
||||||
newPatch->SetTexture(p1->texture);
|
newPatch->SetTexture(p1->texture);
|
||||||
|
|
||||||
for(int y = 0; y < p1->height; y++)
|
for(int y = 0; y < p1->height; y++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user